#!/usr/bin/env python
#-*- coding:utf-8 -*-
# author:Vergil
# datetime:2018/12/13 23:02
# software: PyCharm
from django.urls import path, include
from . import views
from django.conf import settings
from django.conf.urls.static import static

app_name = 'user'
urlpatterns = [
    path('user_login/', views.user_login, name='user_login'),
    path('register/', views.register, name='register'),
    path('show_profile/', views.show_profile, name='show_profile'),
    path('<str:pk>/show_another/', views.show_another, name='show_another'),
    path('user_follow/', views.user_follow, name='user_follow'),
    path('edit_profile/', views.edit_profile, name='edit_profile'),
    path('certification/', views.certification, name='certification'),
]+ static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT)